package com.cjh.feign.impl;

import com.cjh.entity.Person;
import com.cjh.feign.FeignClient;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author cjh
 * @date 2021/3/26 17:30
 */

@Component
public class FeignError implements FeignClient {
    @Override
    public String getPort() {
        return "服务器奔溃...";
    }

    @Override
    public List<Person> list() {
        return null;
    }
}
